<template>
    <el-checkbox-group v-model="comArry">
        <el-checkbox label="西瓜" />
        <el-checkbox label="苹果" />
        <el-checkbox label="Option C" />
        <el-checkbox label="disabled" disabled />
        <el-checkbox label="selected and disabled" disabled />
      </el-checkbox-group>
  </template>
  
  <script setup>
      import {watch} from 'vue'
    const props = defineProps({
        comArry: Array
    })

    watch(() => props.comArry,(newVal,oldVal)=>{
 },{ deep: true }
 )
  
    // 这个组件需要 Vue.component('v-button', xx) 注册
  </script>
  